import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import DefineOptions from 'unplugin-vue-define-options/vite'
import { resolve } from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), DefineOptions()],
  resolve:{
    alias:[{
      find:"@",
      replacement:resolve(__dirname,"src")
    }]
  },
  server:{
    open:true,
    hmr:true,
    port:886,
  }
})
